﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<ConsoleSignInModels>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
        <title>网站管理员登陆</title>
    <link href="/Content/css/skin.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
    body { margin-left: 0px; margin-top: 0px;margin-right: 0px;margin-bottom: 0px;background-color: #1D3647; }
    .field-validation-error { margin-top:5px;margin-left:10px; color: #ff0000; float:left; font-family:Courier New; font-size:13px;}
    .validation-summary-errors{ float:left;font-family:Courier New; font-size:13px;font-weight: bold; color: #ff0000;}
    </style>
    <script type="text/javascript">
        function correctPNG() {
            var arVersion = navigator.appVersion.split("MSIE")
            var version = parseFloat(arVersion[1])
            if ((version >= 5.5) && (document.body.filters)) {
                for (var j = 0; j < document.images.length; j++) {
                    var img = document.images[j]
                    var imgName = img.src.toUpperCase()
                    if (imgName.substring(imgName.length - 3, imgName.length) == "PNG") {
                        var imgID = (img.id) ? "id='" + img.id + "' " : ""
                        var imgClass = (img.className) ? "class='" + img.className + "' " : ""
                        var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
                        var imgStyle = "display:inline-block;" + img.style.cssText
                        if (img.align == "left") imgStyle = "float:left;" + imgStyle
                        if (img.align == "right") imgStyle = "float:right;" + imgStyle
                        if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
                        var strNewHTML = "<span " + imgID + imgClass + imgTitle
                 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
                 + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
                 + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
                        img.outerHTML = strNewHTML
                        j = j - 1
                    }
                }
            }
        }
        window.attachEvent("onload", correctPNG);
        function back() {
            var host = 'http://<%=HttpContext.Current.Request.Headers["host"]%>';
            window.location.href = host;
        }
    </script>
</head>
<body>
<table width="100%" height="166" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="42" valign="top">
    <table width="100%" height="42" border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
      <tr>
        <td width="1%" height="21">&nbsp;</td>
        <td height="42">&nbsp;</td>
        <td width="17%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg">
      <tr>
        <td width="49%" align="right"><table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2">
            <tr>
              <td height="138" valign="top"><table width="89%" height="427" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="149">&nbsp;</td>
                </tr>
                <tr>
                  <td height="80" align="right" valign="top">
                  <%if (ViewData["Logo"] != null)
                    {
                        var pack = ViewData["Logo"] as DefaultDataPack;
                        %>
                  <div class="logo_title"><%=pack.TITLE %>后台管理系统</div>
                  <%=pack.URL%>
                  
                  <%} %>
                  <%--<img src="/Content/images/Console/logo.png" width="279" height="68">--%>
                  </td>
                </tr>
                <tr>
                  <td height="198" align="right" valign="top">
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="25%">&nbsp;</td>
                      <td colspan="2" class="left_txt">
                      <p style="margin-left:50px; float:left;">
                      1- 一站式企业内容管理系统
                      </p>
                      </td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td colspan="2" class="left_txt">
                      <p style="margin-left:50px; float:left;">
                      2- 专业、安全、诚信的后台管理系统
                      </p></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td colspan="2" class="left_txt">
                      <p style="margin-left:50px; float:left;">
                      3- 让您的企业展示、管理、电子商务一气呵成
                      </p></td>
                    </tr>
                      <tr>
                          <td>
                              &nbsp;
                          </td>
                          <td width="30%" height="40">
                              <img src="/Content/images/Console/icon-demo.gif" width="16" height="16">
                              <a href="javascript:;" target="_blank" class="left_txt3"> 使用说明</a>
                          </td>
                          <td width="35%">
                              <img src="/Content/images/Console/icon-login-seaver.gif" width="16" height="16">
                              <a href="javascript:;" target="_blank" class="left_txt3"> 在线客服</a>
                          </td>
                      </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            
        </table></td>
        <td width="1%" >&nbsp;</td>
        <td width="50%" valign="bottom"><table width="100%" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%" height="38"><span class="login_txt_bt">登陆信息网后台管理</span></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="21"><table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table211" height="328">
                  <tr>
                    <td height="164" colspan="2" align="center">
                    <form action="/SignIn" method="post">
                    <%: Html.ValidationSummary(true, "登录不成功。请更正错误并重试。")%>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0" height="143" id="table212">
                        <tr>
                            <td width="13%" height="38" class="top_hui_text">
                                <span class="login_txt">管理员：&nbsp;&nbsp; </span>
                            </td>
                            <td height="38" colspan="2" class="top_hui_text">
                                <input name="UserName" style="float:left;" class="editbox4" value="<%:Model.UserName %>" size="20"/>
                                <%: Html.ValidationMessageFor(m => m.UserName)%>
                            </td>
                        </tr>
                        <tr>
                            <td width="13%" height="35" class="top_hui_text">
                                <span class="login_txt">密 码： &nbsp;&nbsp; </span>
                            </td>
                            <td height="35" colspan="2" class="top_hui_text">
                                <input class="editbox4" style="float:left;"  type="password" size="20" value="<%:Model.PassWord %>" name="PassWord"/>
                                <img src="/Content/images/Console/luck.gif" style="float:left;"  width="19" height="18"/>
                                <%: Html.ValidationMessageFor(m => m.PassWord)%>
                            </td>
                        </tr>
                            
                        </tr>
                        <tr>
                            <td height="35">
                                &nbsp;
                            </td>
                            <td width="20%" height="35">
                                <input name="Submit" type="submit" style="float:left;" class="button" id="Submit" value="登 陆">
                            </td>
                            <td width="67%" class="top_hui_text">
                                <input name="cs" type="button" style="float:left;" class="button" id="cs" value="返 回" onclick="back()">
                            </td>
                        </tr>
                    </table>
                    
                        <br>
                    </form></td>
                  </tr>
                  <tr>
                    <td width="433" height="164" align="right" valign="bottom"><img src="/Content/images/Console/login-wel.gif" width="242" height="138"></td>
                    <td width="57" align="right" valign="bottom">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
          </table>
          </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="login-buttom-bg">
      <tr>
        <td align="center"><span class="login-buttom-txt">Copyright &copy; 2009-2010 www.865171.cn</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
